Bug 780016 - Conversion path between nonpremultiplied formats ...
authorEll <ell_se@yahoo.com>
Thu, 8 Jun 2017 13:20:29 +0000 (09:20 -0400)
committerEll <ell_se@yahoo.com>
Thu, 8 Jun 2017 17:57:36 +0000 (13:57 -0400)
commit530c9b16892c26b103e218c3f9fc646b3008f545
tree30fa20e27cf6da6b73b6461ccc7cc454ac86be2d
parent5a97284e2ce61c02ee870e53ab64f137295d1173
Bug 780016 - Conversion path between nonpremultiplied formats ...

.. may pass through a premultiplied format, losing color information
of fully transparent pixels

Add a few pixels with zero alpha to the test pixels array, to penalize
such paths.  16 pixels seem to be enough for the conversions tested,
using the default tolerance.

Add a regression test.
babl/babl-ref-pixels.inc
tests/Makefile.am
tests/transparent.c [new file with mode: 0644]
tools/babl-gen-test-pixels.c